package com.smarttiger.zero.admin.entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "token")
public class TokenModel extends BaseEntity {


    @Column(name = "token",length = 50)
    private String token;

    @Column(name = "endDate")
    @Temporal(TemporalType.TIMESTAMP)
    private Date endDate;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
